<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
    <!-- Loading Bootstrap -->
    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
    <!-- Loading Flat UI -->
    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
</head>
<body>				
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<form action="" method='post'  enctype="multipart/form-data">
				<fieldset>
				<legend>添加商品品牌</legend>
				<table class="table table-bordered table-hover">
					<tr>
						<td>品牌名称</td>
						<td colspan="2">
							<input type="text" name='bname' value="{{$oldData['bname']}}"/>
						</td>
					</tr>
					<tr>
						<td>品牌LOGO</td>
						<td>
							<input type="file" name='logo'/>
							<img src="{{$oldData['logo']}}"/>
							<!--隐藏域-->
							<input type="hidden" name="logo" value="{{$oldData['logo']}}"/>
						</td>
					</tr>
					<tr>
						<td>是否热门</td>
						<td>
							<input type="checkbox" name='ishot' value='1' <?php if($oldData['ishot']==1):?> checked <?php endif ?>/>
						</td>
					</tr>
					<tr>
						<td>排序</td>
						<td>
							<input type="text" name='sort' value="{{$oldData['sort']}}"/>
						</td>
					</tr>
					<tr>
						<td colspan='3' align='center' style="text-align: left">
							<!--隐藏域-->
							<input type="hidden" name="bid" value="{{$_GET['bid']}}" />
							<input type="submit" class="btn btn-primary" value="确认修改" />
						</td>
					</tr>
				</table>
				</fieldset>
			</form>
			</div>
		</div>
	</div>
</body>
</html>
